﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;

namespace BarManager.Core.BusinessRules.Interfaces.Specification
{
    public interface ISpecification<TEntity> where TEntity : class
    {
        bool IsSatisfiedBy(TEntity entity);
        IEnumerable<string> GetErrorMessage();
    }
}
